package com.ym.medical.domain.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ym.medical.enums.InquiryOrderIoTypeEnum;
import com.ym.medical.enums.InquiryOrderSourceEnum;
import com.ym.medical.enums.InquiryOrderStateEnum;
import com.ym.medical.enums.UserSexEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 抢单视图
 *
 * @author: 李涛
 * @version: 2019年04月26日 10:25
 */
@Data
@ApiModel("抢单视图")
public class OrdersVo {

	@ApiModelProperty("订单ID")
	private String id;

	@ApiModelProperty("用户ID")
	private String userId;

	@ApiModelProperty("患者ID")
	private String patientId;

	@ApiModelProperty("患者名称")
	private String name;

	@ApiModelProperty("患者性别")
	@JsonSerialize(converter = UserSexEnum.Covert.class)
	private String sex;

	@ApiModelProperty("描述")
	private String content;

	@ApiModelProperty("金额")
	private double amount;

	@ApiModelProperty("生日")
	private String birthday;

	@ApiModelProperty("年龄")
	private String age;

	@ApiModelProperty("头像")
	private String head;

	@ApiModelProperty("提问时间")
	private String time;

	@ApiModelProperty("工作室名称")
	private String dsName;

	@ApiModelProperty("订单来源")
	@JsonSerialize(converter = InquiryOrderSourceEnum.Covert.class)
	private String orderSource;

	@ApiModelProperty("订单类型")
	@JsonSerialize(converter = InquiryOrderIoTypeEnum.Covert.class)
	private String ioType;

	@ApiModelProperty("肝功能是否正常")
	private String liverNor;

	@ApiModelProperty("肝功能是否正常值 key=‘FlagEnum’")
	private String liverNorName;

	@ApiModelProperty("肾功能是否正常")
	private String kidneyNor;

	@ApiModelProperty("肾功能是否正常值 key=‘FlagEnum’")
	private String kidneyNorName;

	@ApiModelProperty("是否备孕")
	private String pregnancyNor;

	@ApiModelProperty("是否备孕值 key=‘FlagEnum’")
	private String pregnancyNorName;

	@ApiModelProperty("遗传病史")
	private String geneticHistory;

	@ApiModelProperty("家族病史")
	private String familyHistory;

	@ApiModelProperty("既往病例")
	private String pastCases;

	@ApiModelProperty("过敏史")
	private String allergyHistory;

	@ApiModelProperty("工作室医生ID")
	private String dsDoctorId;

	@ApiModelProperty("抢单人ID")
	private String grapDoctorId;

	@ApiModelProperty("工作室医生姓名")
	private String dsDoctorName;

	@ApiModelProperty("抢单人姓名")
	private String grapDoctorName;

	@ApiModelProperty("订单状态")
	@JsonSerialize(converter = InquiryOrderStateEnum.Covert.class)
	private String ioState;

}
